from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'blond_with_white_butt.views.home', name='home'),
    # url(r'^blond_with_white_butt/', include('blond_with_white_butt.foo.urls')),

    # Ieva should use THIS way :)
    (r"^pos/", include("pos.urls")),
    (r"^position/", include("position.urls")),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    (r'^girls/$', 'girls.views.index'),
    (r'^girls/(?P<girl_id>\d+)/$', 'girls.views.detail'),
    (r'^girls/(?P<girl_id>\d+)/results/$', 'girls.views.results'),
    (r'^girls/(?P<girl_id>\d+)/vote/$', 'girls.views.vote'),
    # Uncomment the next line to enable the admin:
     url(r'^admin/', include(admin.site.urls)),
)
